Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added freezing time method #29

Closed
wants to merge 8 commits into from

Conversation

alejanderl
Copy link

This is an approach for freezing time. Some tests included. Also resolves #27 .

alejanderl and others added 8 commits April 10, 2014 13:44
subclasses of the above classes don't survive the round-trip through Delorean, returning
their superclass instead. Notably, `Zip::DOSTime` inherits from `Time`, but
`Zip::DOSTime.now` returns an instance of `Time`
[(see bebanjo#25 in jtrupiano/timecop)](https://github.com/jtrupiano/timecop/issues/25)

This patch alleviates the problem, and attempts to do so in as clean a manner as possible.
Added freezing time
 methods

mend
@alejanderl alejanderl closed this Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there ever going to be an ability to freeze time?
3 participants